<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8" />
		<title>Document</title>
	</head>
	<body>
		<script type="text/javascript" >
			function test(){
				return setTimeout(()=>{
					return 999
				},1000)
			}

			const result = test()
			console.log(result)

		</script>
	</body>
</html>